import React from 'react';
import './App.scss';
import { BrowserRouter } from 'react-router-dom'
import RouterView from './router/RouterView'
import routes from './router/router-config'
import './mock/index'

import store from './store/index'
import { Provider } from 'react-redux'

function App() {
    return (
        <Provider store={store}>
            <BrowserRouter>
                <RouterView routes={routes} />
            </BrowserRouter>
        </Provider>
        
    );
}

export default App;
